const TokenKey = 'App-Token'
const SSOTokenKey = 'SSO-Token'

export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}

export function getSSOToken() {
  return uni.getStorageSync(SSOTokenKey)
}

export function setSSOToken(token) {
  return uni.setStorageSync(SSOTokenKey, token)
}

export function removeSSOToken() {
  return uni.removeStorageSync(SSOTokenKey)
}
